package com.alameda.provider.user;

import com.alameda.service.user.ApUserService;
import com.alameda.user.api.ApUserProvider;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 移动端用户 同步接口层 具体实现
 *
 * @author Lv
 * @date 2024/09/22
 */
@DubboService
public class ApUserProviderImpl implements ApUserProvider {

    @Autowired
    private ApUserService apUserService;

    /**
     * 处理移动端token续期
     *
     * @param token 登录令牌
     * @return
     */
    @Override
    public Boolean dealApUserTokenRenewal(String token) {
        return apUserService.dealApUserTokenRenewal(token);
    }
}
